import request from '@/utils/request'

// 项目列表
// POST https://ds.pushiyixue.com/ds/project/get_project √
export function get_project(data) {
  return request({
      url: '/ds/project/get_project',
      method: 'post',
      data
  })
}

// 项目详情 
// POST https://ds.pushiyixue.com/ds/project/get_project_invited_details √
export function get_project_invited_details(data) {
  return request({
      url: '/ds/project/get_project_invited_details',
      method: 'post',
      data
  })
}

// 参与合并提交接口 
// POST https://ds.pushiyixue.com/ds/project/set_project_invited √
export function set_project_invited(data) {
  return request({
      url: '/ds/project/set_project_invited',
      method: 'post',
      data
  })
}

// 我的参与过的项目列表
// POST https://ds.pushiyixue.com/ds/project/get_history_invited √
export function get_history_invited(data) {
  return request({
      url: '/ds/project/get_history_invited',
      method: 'post',
      data
  })
}

// 提交方案接口
// POST https://ds.pushiyixue.com/ds/project/set_invited_plan √
export function set_invited_plan(data) {
  return request({
      url: '/ds/project/set_invited_plan',
      method: 'post',
      data
  })
}

// 上传方案的文件
// POST https://ds.pushiyixue.com/ds/project/upload_invited_plan √
export function upload_invited_plan(data) {
  return request({
      url: '/ds/project/upload_invited_plan',
      method: 'post',
      data
  })
}
